<?php
namespace app\simple\http\api;

use Inphp\Service\Object\Message;
use Inphp\Util\Str;

class index
{
    public function index(): Message
    {
        return httpMessage(0, 'welcome!', [
            'token' => Str::randomString(32)
        ]);
    }
}